#include <stdio.h>
float after_speed_up_time(int hour,int minute,int beisu)
{
  return (hour * 60 + minute)/beisu;
}  
int main()
{
  int  hour,minute,beisu;
  printf("enter video time(hour)");
  scanf("%d",&hour);
  printf("enter video time(minute)");
  scanf("%d",&minute);
  printf("enter speed");
  scanf("%d",&beisu);
  float time = after_speed_up_time(hour,minute,beisu);
  printf("after speed up %f minute\n", time);
  return 0;
}